package com.yuanfeng.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.base.entity.BaseDistributorGradeEntity;
import com.yuanfeng.commoms.util.ResponseResult;

import java.util.Map;

/**
 *
 */
public interface BaseDistributorGradeService extends IService<BaseDistributorGradeEntity> {

    /**
     * 更新等级
     * @param map
     * @return
     */
    ResponseResult updateGrade(Map<String,Object> map);


    /**
     * 查询等级
     * @param map
     * @return
     */
    ResponseResult queryGrade(Map<String,Object> map);
}
